package com.cluster.platform.mapper;

import com.cluster.platform.model.SysCheckInfo;
import com.cluster.platform.model.SysCheckInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysCheckInfoMapper {
    long countByExample(SysCheckInfoExample example);

    int deleteByExample(SysCheckInfoExample example);

    int deleteByPrimaryKey(String id);

    int insert(SysCheckInfo record);

    int insertSelective(SysCheckInfo record);

    List<SysCheckInfo> selectByExample(SysCheckInfoExample example);

    SysCheckInfo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SysCheckInfo record, @Param("example") SysCheckInfoExample example);

    int updateByExample(@Param("record") SysCheckInfo record, @Param("example") SysCheckInfoExample example);

    int updateByPrimaryKeySelective(SysCheckInfo record);

    int updateByPrimaryKey(SysCheckInfo record);

//    动态获取规则校验信息
    List<SysCheckInfo> searchSysCheckInfo(SysCheckInfo sysCheckInfo);

    // 批量操作
    int batchSysCheck(@Param("status")Integer status,@Param("ids")List<String> ids);
}